<template>
    <div>
         <el-container class="yemianVh">
            <el-header height='120px'><h1>车位出租项目</h1></el-header>
            <el-container>
                <el-aside width="200px">
                    <sideBar/>

                </el-aside>
                <el-container>
                    <el-main>
                        <router-view></router-view>
                    </el-main>
                </el-container>
            </el-container>
            <el-footer>车务出租项目底部</el-footer>
        </el-container>
        </div>
    </div>
</template>

<script>
import sideBar from "./SideBar.vue";
export default {
    components: {
        sideBar,
    }
};
</script>

<style>
* {
    margin: 0;
    padding: 0;
}
.yemianVh {
    height: 100vh;
}
.el-header,
.el-footer {
    background-color: #b3c0d1;
    color: #333;
    text-align: center;
}
.el-header {
    height: 80px;
    line-height: 120px;
}

.el-aside {
    background-color: #d3dce6;
    color: #333;
    text-align: center;
    line-height: 200px;
}

.el-main {
    background-color: #e9eef3;
    color: #333;
    line-height: 35px;
}
</style>